package com.susallwave.srcb.service.sys;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.susallwave.srcb.entity.sys.User;
import com.susallwave.srcb.response.Result;

/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author MyBatisPlusGenerator
 * @since 2025-07-19
 */
public interface UserService extends IService<User> {

    Result<String> login(String userAcct, String password);
    String loginBySign(String token, String userAcct, String timestamp,String pageCode,String sysFlag);
    Result<Void> logout();
    Result<Void> lockUser(String userAcct,long timeout);
    Result<Void> unlockUser(String userAcct);
    Result<User> getUserInfo(String userAcct);
    Result<IPage<User>> userList(int pageNum, int pageSize, String keyword);
}
